
# Entity data

u = User.objects.get(username="jonas")
i = 0
cat = Category.objects.all()
for c in cat:
    i += 1
    e = Entity(user=u,category=c,type="N",title="Note #{0}".format(i),description="Cat #{0}".format(c.id),state="ACV")
    e.save()
